package com.shxc.smarttrade.old.bean;

/**
 * Created by jcdev1 on 2017/11/9.
 */

public class AlphaBaseInfo extends ErrorStatus {

    /**
     * data : {"eaInfo":{"eaId":1,"version":"1.0.2","updateAt":1510280605000,"brokerType":"1","precisionRate":55.56,"profitCount":92.02,"monthProfitRate":0.92,"weekYieldRate":0.92,"dayCount":9,"profitRateCount":0.92,"traderCount":27,"maxVolume":2.07,"profitTrade":15,"lossTrade":12,"maxProfit":62.08,"maxLoss":-78.4,"avgProfit":3.4081},"isSub":0}
     */

    private DataBean data;

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * eaInfo : {"eaId":1,"version":"1.0.2","updateAt":1510280605000,"brokerType":"1","precisionRate":55.56,"profitCount":92.02,"monthProfitRate":0.92,"weekYieldRate":0.92,"dayCount":9,"profitRateCount":0.92,"traderCount":27,"maxVolume":2.07,"profitTrade":15,"lossTrade":12,"maxProfit":62.08,"maxLoss":-78.4,"avgProfit":3.4081}
         * isSub : 0
         */

        private EaInfoBean eaInfo;
        private boolean isSub;

        public EaInfoBean getEaInfo() {
            return eaInfo;
        }

        public void setEaInfo(EaInfoBean eaInfo) {
            this.eaInfo = eaInfo;
        }

        public boolean getIsSub() {
            return isSub;
        }

        public void setIsSub(boolean isSub) {
            this.isSub = isSub;
        }

        public static class EaInfoBean {
            /**
             * eaId : 1
             * version : 1.0.2
             * updateAt : 1510280605000
             * brokerType : 1
             * precisionRate : 55.56
             * profitCount : 92.02
             * monthProfitRate : 0.92
             * weekYieldRate : 0.92
             * dayCount : 9
             * profitRateCount : 0.92
             * traderCount : 27
             * maxVolume : 2.07
             * profitTrade : 15
             * lossTrade : 12
             * maxProfit : 62.08
             * maxLoss : -78.4
             * avgProfit : 3.4081
             */

            private int eaId;
            private String version;
            private long updateAt;
            private String brokerType;
            private double precisionRate;
            private double profitCount;
            private double monthProfitRate;
            private double weekYieldRate;
            private int dayCount;
            private double profitRateCount;
            private int traderCount;
            private double maxVolume;
            private double profitTrade;
            private double lossTrade;
            private double maxProfit;
            private double maxLoss;
            private double avgProfit;

            public int getEaId() {
                return eaId;
            }

            public void setEaId(int eaId) {
                this.eaId = eaId;
            }

            public String getVersion() {
                return version;
            }

            public void setVersion(String version) {
                this.version = version;
            }

            public long getUpdateAt() {
                return updateAt;
            }

            public void setUpdateAt(long updateAt) {
                this.updateAt = updateAt;
            }

            public String getBrokerType() {
                return brokerType;
            }

            public void setBrokerType(String brokerType) {
                this.brokerType = brokerType;
            }

            public double getPrecisionRate() {
                return precisionRate;
            }

            public void setPrecisionRate(double precisionRate) {
                this.precisionRate = precisionRate;
            }

            public double getProfitCount() {
                return profitCount;
            }

            public void setProfitCount(double profitCount) {
                this.profitCount = profitCount;
            }

            public double getMonthProfitRate() {
                return monthProfitRate;
            }

            public void setMonthProfitRate(double monthProfitRate) {
                this.monthProfitRate = monthProfitRate;
            }

            public double getWeekYieldRate() {
                return weekYieldRate;
            }

            public void setWeekYieldRate(double weekYieldRate) {
                this.weekYieldRate = weekYieldRate;
            }

            public int getDayCount() {
                return dayCount;
            }

            public void setDayCount(int dayCount) {
                this.dayCount = dayCount;
            }

            public double getProfitRateCount() {
                return profitRateCount;
            }

            public void setProfitRateCount(double profitRateCount) {
                this.profitRateCount = profitRateCount;
            }

            public int getTraderCount() {
                return traderCount;
            }

            public void setTraderCount(int traderCount) {
                this.traderCount = traderCount;
            }

            public double getMaxVolume() {
                return maxVolume;
            }

            public void setMaxVolume(double maxVolume) {
                this.maxVolume = maxVolume;
            }

            public double getProfitTrade() {
                return profitTrade;
            }

            public void setProfitTrade(double profitTrade) {
                this.profitTrade = profitTrade;
            }

            public double getLossTrade() {
                return lossTrade;
            }

            public void setLossTrade(double lossTrade) {
                this.lossTrade = lossTrade;
            }

            public double getMaxProfit() {
                return maxProfit;
            }

            public void setMaxProfit(double maxProfit) {
                this.maxProfit = maxProfit;
            }

            public double getMaxLoss() {
                return maxLoss;
            }

            public void setMaxLoss(double maxLoss) {
                this.maxLoss = maxLoss;
            }

            public double getAvgProfit() {
                return avgProfit;
            }

            public void setAvgProfit(double avgProfit) {
                this.avgProfit = avgProfit;
            }
        }
    }
}
